package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by Administrator on 2020/3/12.
 */
public interface IRoleService {
	void delete(Long id);
	void save(Role role);
	Role get(Long id);
	List<Role> listAll();
	void update(Role role);
	PageInfo queryForList(QueryObject qo);

	void saveOrUpdate(Role role, Long[] ids);
}
